﻿using B.S.Requst;
using MediatR;

namespace B.S.Data.MES.API.Applications.ProcessrouteApplication
{
    public class UpdateProcessrouteCommand:IRequest<APIRequst<int>>
    {
        public int Id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string ProcessrouteName { get; set; }
        ///// <summary>
        ///// 预览图(可空)
        ///// </summary>
        //public string? Image { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string ProcessrouteType { get; set; }
        /// <summary>
        /// 发布状态
        /// </summary>
        public bool ProcessrouteState { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? ProcessrouteDescription { get; set; }
                
        /// <summary>
        /// 更新时间(可空)
        /// </summary>
        public DateTime? ProcessrouteUpdateTime { get; set; }=DateTime.Now;
    }
}
